package com.cn.sinsosft.boot.dao.impl;

import com.cn.sinsosft.boot.entity.User;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Param;

/**
 * @author wangyupeng
 * @despriction:
 * @ate:Created in 9:01 2019/1/15
 * @modify By:
 */
@Slf4j
public class UserProvider {

    public String login(@Param("user") User user){
        String sql ="select username,password from t_user where username=#{user.username} and password =#{user.password}";
        log.info("查询的同户密码sql{}",sql);
        return sql;
    }
}
